import {defineStore} from "pinia";

export const useRoadStore = defineStore('road', {
  state: () => ({
    type: 'foot',
    properties:[]
  }),
  setters: {
    setType(token) {
      this.type = token;
    },
    setProperties(properties){
      this.properties = properties;
    }
  },
  getters: {
    getType() {
      return this.type;
    },
    getProperties() {
      return this.properties;
    }
  },
  persist: true,
});
